FROM adoptopenjdk/openjdk8-openj9:alpine-slim

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone

WORKDIR /usr/local/

ENTRYPOINT exec java $JAVA_OPTS -jar app.jar

COPY ./target/jjyp-api*.jar /usr/local/app.jar
